Skip to content

Conversation

@ronething
Copy link
Contributor

@ronething ronething commented Apr 18, 2025

Signed-off-by: ashing [email protected]

Signed-off-by: ashing <[email protected]>
Signed-off-by: ashing <[email protected]>
@ronething ronething requested review from AlinsRan and Copilot April 18, 2025 09:11
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds test cases and supporting code for testing multi-gateway scenarios. Key changes include:

  • Introducing support for multiple Gateway groups in the test scaffold.
  • Updating dataplane tunnel creation to be reusable across additional gateway groups.
  • Adding new e2e tests for multi-gateway HTTPRoute functionality.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/e2e/scaffold/scaffold.go Added data structures and helper functions for multiple gateways.
test/e2e/scaffold/dp.go Refactored dataplane tunnel creation to utilize the common helper.
test/e2e/gatewayapi/httproute.go Added multi-gateway HTTPRoute test case and resource creation steps.
internal/controller/config/config.go Removed an unused function.
config/samples/config.yaml Removed commented-out configuration for a cleaner sample.

Signed-off-by: ashing <[email protected]>
@ronething ronething requested a review from Copilot April 18, 2025 09:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces support for multiple gateway groups by extending the test scaffold and adding a multi-gateway test case for HTTPRoutes. It also refactors dataplane tunnel creation, renames several misnamed variables in HTTPRoute tests, and removes unused or commented-out code from configuration files.

  • Added additionalGatewayGroups support and cleanup in the scaffold.
  • Refactored dataplane tunnel creation to use a common helper.
  • Extended HTTPRoute tests to verify multi-gateway behavior and cleaned up variable names.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/e2e/scaffold/scaffold.go Added additional gateway groups support and cleanup logic
test/e2e/scaffold/dp.go Refactored tunnel creation using createDataplaneTunnels
test/e2e/gatewayapi/httproute.go Updated test cases for multi-gateway and fixed variable names
internal/controller/config/config.go Removed unused validation function
config/samples/config.yaml Removed commented-out configuration samples

Signed-off-by: ashing <[email protected]>
Signed-off-by: ashing <[email protected]>
@ronething ronething merged commit d7fbe44 into release-v2-dev Apr 18, 2025
7 of 8 checks passed
@ronething ronething deleted the chore/fix_review branch April 18, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants